package com.ys.service.storage;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

public interface TccAllocateService {
	
	R add(String bid, Integer type, String detailArr, Long menuId) throws Exception;
	
	R checkAccount(String detailArr);
	
	R edit(String bid, String detailArr, Long menuId) throws Exception;
	
	R deleteTrue(Long id) throws Exception;
	
	R flowPass(Long id, String loginUserId) throws Exception;
	
	R flowRefuse(Long id, String reason, String loginUserId) throws Exception;


	R flowInit(Long id, String reason, String loginUserId) throws Exception;

	void flowFinish(Long id, String loginUserId) throws Exception;
	
	R hasAllocated(Long id);


	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;
}
